#ifndef UGAME_EVENT
#define UGAME_EVENT

#include "cocos2d.h"
#include "../../platform/UGCustomMacros.h"

USING_NS_CC;

namespace ugame {
    class UGEvent : public Ref {
        UG_PROPERTY_GETTER(int, id, Id);
        UG_PROPERTY_GETTER(int, type, Type);
        UG_PROPERTY_GETTER(Ref*, sender, Sender);
        UG_PROPERTY_FULL(float, delayTime, DelayTime);
    public:
        UGEvent();
        virtual ~UGEvent();
    };
}

#endif
